package cn.wolfcode.domain;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Setter
@Getter
public class Question {
    /**
     *
     */
    private Long id;

    /**
     * 标题
     */
    private String title;

    /**
     * 类型(单选/多选/判断)
     */
    private Integer type;

    /**
     * 判断正确(针对判断题才有此项)
     */
    private Boolean judgeRight;

    //一个题目对多个选项
    private List<QuestionItem> options;

    //判断题
    private List<QuestionIF> ifQuestion;

    //这个题目的真确答案
    private StringBuffer right = new StringBuffer();
    //分数
    private Integer score;
    //题号
    private Integer seq;
}